package com.cropdoctor.model.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * Description: 【 用户角色关联关系表 实体 】
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sys_user_role_relation")
@ApiModel(value = "SysUserRoleRelationPo",description = "用户_角色关联相关Po")
public class SysUserRoleRelationPo {

    // ==================== FIELDS ====================

    /**
     * 用户ID
     */
    @TableField(value = "user_id")
    @ApiModelProperty(value = "用户id",example = "1")
    private Integer userId;

    /**
     * 角色ID
     */
    @TableField(value = "role_id")
    @ApiModelProperty(value = "角色id",example = "1")
    private Integer roleId;

    // ==================== NON-PERSISTENT ====================

    // ==================== GET AND SET METHODS ====================

}
